import request from '@/utils/request'
import API from './constants'

export const getDetails = (id) => request({
  url: API.API_Details,
  method: 'GET',
  params: {
    id,
  },
})
export const getDetailBanner = (id) => request({
  url: API.API_Details,
  method: 'Get',
  params: {
    id,
  },
})
